package com.qx.frame.button;

import javax.swing.JButton;

/**
 * 描述：<br>
 * 封装Swing的JButton
 * 
 * @author LazyBear
 * @data 2014-4-24
 */
public class LButton extends JButton {

	private static final long serialVersionUID = 2389646447540780762L;

	/**
	 * Button序号
	 */
	private int index;

	/**
	 * @return the index
	 */
	public int getIndex() {
		return index;
	}

	/**
	 * @param index
	 *            the index to set
	 */
	public void setIndex(int index) {
		this.index = index;
	}

	public LButton(int index, String text) {
		super(text);
		this.index = index;
	}
}
